/* 右邊固定按鈕 */

.fixe_btngroup {
    z-index: 1;
    display: flex;
    margin-left: 50%;
    position: absolute;
}

.fixe_btngroup_bg {
    padding: 0 5px;
    margin-bottom: 5%;
}

.fixe_btngroup_bg a {
    background: #31475e;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    padding: 25px 15px 6px 15px;
    font-size: 13pt;
    font-weight: bold;
    text-decoration: none;
    transition: all .5s ease-in-out;
}

.fixe_btngroup_bg a:hover {
    background: #e60012;
    color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    padding: 25px 15px 6px 15px;
    font-size: 13pt;
    font-weight: bold;
    text-decoration: none;
}


/* 加盟頁面 */

.brand,
.class,
.IEclass {
    padding: 0 10%;
    padding-bottom: 10%;
}

.joindata_outer {
    padding: 0 10%;
}

.joindata {
    padding: 0 10%;
}

.page_title {
    padding: 3% 0;
}

.page_title h4 {
    color: #e60012;
    font-weight: bold;
    font-size: 16pt;
}

.page_title hr {
    margin-top: 0px;
    margin-bottom: 0px;
    border: 0;
    border-top: 2px solid #e60012;
}

.content_p {
    font-size: 11pt;
    line-height: 21pt;
    padding: 0 2%;
}

.content_p h5 {
    font-size: 12pt;
    font-weight: bold;
}

.page_banner {
    position: relative;
    background: #C00000;
    padding: 2%;
    margin: 5% 0;
    box-shadow: 6px 8px 26px -6px #000;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.page_banner h3 {
    color: #fff;
    font-size: 20pt;
    font-weight: bold;
}

.page_banner p {
    color: #fff;
    padding-right: 45%;
    font-size: 11pt;
}

.page_banner .banner_bg {
    position: absolute;
    left: 60%;
    top: -20%;
}

.btn_group a {
    background: #1f2b65;
    color: #ffF;
    margin: 0 2%;
    padding: 1% 3%;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all .3s linear;
}

.btn_group {
    display: flex;
    justify-content: center;
}

.btn_group i {
    margin-left: 8px;
}

.btn_group a:hover i {
    animation: mymove 3s infinite;
}

@keyframes mymove {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0px);
    }
}

.content_p p img {
    margin-right: 10px;
    margin-left: 0px;
}

.class .content_p p {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5% 0;
}

.left {
    float: left;
}

.panel-group a {
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.panel-default>.panel-heading {
    color: #FFF;
    background-color: #31475e;
    border-color: #ddd;
}


/* pageimg_outer */

.pageimg_outer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.con_page_img {
    width: 200px;
    margin: 0px 2%;
}

.pageimg_inner p {
    text-align: center;
    font-size: 14px;
}

.content_p h6 {
    background: #31475e;
    color: #fff;
    font-size: 18pt;
    font-weight: bold;
    padding: 1%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 0;
}

.brand.exp {
    background: url("../5033/rosesonwood-10-091815-1460-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.brand thead {
    background: #eee;
}

.brand td {
    padding: 2%;
    font-size: 10px;
}

.brand tr:nth-child(even) {
    background: #fff7dc;
}


/* page_ad */

.tab-pane.fade.active.in {
    background: #fff;
    border-radius: 20px;
}

.page_ad {
    padding: 2% 10%;
    background: #f5f5f596;
}

.page_ad .d-item .d-txt h5 a {
    word-break: break-all;
    font-size: 15px;
}

.page_ad td {
    font-size: 13px;
}

.page_ad thead {
    background: #eee;
}

.page_ad tr:nth-child(even) {
    background: #fff7dc;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #fff;
    cursor: default;
    background-color: #31475e;
    border: 1px solid #ddd;
    font-weight: bold;
    border-bottom-color: transparent;
}

.nav-tabs>li>a {
    color: #31475e;
    font-weight: bold;
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.more a {
    display: inline-block;
    min-width: 50%;
    color: #31475e;
    padding: 5px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    border: none;
}

.tab-content {
    border: 2px solid #31475e;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#float_right {
    margin-left: 88%;
}

#float_right a {
    font-size: 13pt;
}

.page_ad .d-txt h5 .mdate {
    display: inline;
    font-size: 13px;
}

.owl-carousel.page_ad_owl .owl-item img {
    width: auto;
}

.page_ad_owl .owl-controls .owl-dots {
    display: block !important;
}

.page_ad_owl .owl-dots .owl-dot span {
    background: #e60012a3;
}

.banner_bg1 {
    margin-top: 0%;
}

.banner_bg1 img {
    width: 100%;
    padding-right: 0%;
}

.page_from {
    padding: 0 10% !important;
    padding-bottom: 10%!important;
}

@media (max-width:768px) {
    .fixe_btngroup {
        z-index: 1;
        display: flex;
        margin-left: 60%;
        position: unset;
        /* background: #31475e; */
    }
    .page_banner .banner_bg {
        position: absolute;
        left: 60%;
        top: -30%;
    }
    .page_title h4 {
        color: #e60012;
        font-weight: bold;
        font-size: 14pt;
    }
    .page_from {
        padding-right: 0%;
        padding-bottom: 20%;
    }
    .sidebar1 {
        margin-top: 5%;
        margin-left: 0%;
    }
    .page_ad_owl {
        margin-top: 5%;
    }
    .banner_bg1 img {
        width: 100%;
        padding-right: 0%;
    }
    .fixe_btngroup_bg.-span3 {
        width: 33.33%;
    }
    .fixe_btngroup_bg.-span2 {
        width: 50%;
    }
    .fixe_btngroup_bg.-span3 a,
    .fixe_btngroup_bg.-span2 a {
        border-radius: 0px;
        padding: 5px;
        font-size: 14px !important;
    }
    .fixe_btngroup_bg a {
        border-radius: 0px;
        background: #31475e;
        color: #fff;
        /* border-radius: 10px; */
        width: 100%;
        padding: 8px 15px;
        font-size: 13pt;
        font-weight: bold;
        text-decoration: none;
        transition: all .5s ease-in-out;
        display: block;
        padding: 4px;
    }
    .fixe_btngroup_bg a:hover {
        background: #31475e;
        color: #fff;
        border-radius: 0px;
        width: 100%;
        padding: 5px;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        transition: all .5s ease-in-out;
    }
    .fixe_btngroup_bg:nth-child(1) {
        padding: 0px;
        margin-bottom: 0%;
        border-left: 1px solid transparent;
    }
    .fixe_btngroup_bg {
        padding: 0px;
        margin-bottom: 0%;
        border-left: 1px solid #fff;
    }
    .fixe_btngroup {
        margin-left: 0%;
        justify-content: center;
        margin-bottom: 0%;
    }
    .joindata_outer {
        padding: 0%;
    }
    .joindata {
        padding-right: 0%;
        padding: 0 5%;
    }
    .brand,
    .class,
    .IEclass {
        padding: 0% 5% !important;
        padding-bottom: 20% !important;
    }
    .page_banner p {
        color: #fff;
        padding-right: 0%;
        font-size: 11pt;
    }
    .class .content_p p {
        display: block;
        justify-content: center;
        align-items: center;
        padding: 5% 0;
    }
    .page_banner h3 {
        color: #fff;
        font-size: 19pt;
        font-weight: bold;
    }
    .class .content_p img {
        margin-left: -0%;
    }
    .panel-body {
        font-size: 14px;
    }
    .sidebar {
        margin-top: 10%;
        margin-left: 0%;
    }
    .sidebar ul li a {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 150px;
    }
    .btn_group a {
        display: block;
        background: #1f2b65;
        color: #ffF;
        margin: 2%;
        padding: 1% 3%;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        transition: all .3s linear;
    }
    .btn_group {
        display: block;
    }
    .panel-group a {
        font-size: 14px;
        display: block;
        text-decoration: none;
        font-weight: bold;
    }
    .con_page_img {
        width: 140px;
        margin: 0px 1%;
    }
}

.mpgdetail {
    padding-left: 0px;
    padding-right: 0px;
}

.btn,
.mbtn {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    padding: 6px 2em;
    background: #e60012;
    color: #FFF;
    border: 2px solid #e60012;
    border-radius: 6px;
    background-origin: border-box;
}


/* 表單修改 */

@media (min-width:768px) {
    .module-form .formBS {
        border-color: transparent;
        border-style: solid;
        border-width: 1px 0 0 1px;
    }
    .module-form .formBS .form-group [class*="col-"]:first-child {
        border-right: 1px solid transparent;
    }
    .module-form .formBS .form-group [class*="col-"] {
        border-left: 1px solid transparent;
    }
    .row.form-group {
        padding: 2% 0;
    }
    .module-form .formBS .form-group {
        border-color: transparent;
        border-style: solid;
        border-width: 0 1px 1px 0;
    }
    .control-help,
    .desc {
        text-align: center;
    }
}

.module.module-form {
    background: #fff7dc;
    border-radius: 20px;
}

.page_from {
    padding: 0%;
    padding-bottom: 10%;
}

.page_from .formBS {
    background: #fff7dc;
    border-radius: 20px;
}

.page_from .page_banner .banner_bg {
    position: absolute;
    left: 80%;
    top: -20%;
}

#menu1 i.mdate.before {
    display: block !important;
}

#menu1 a {
    font-size: 11pt;
}

.panel-body a {
    display: unset;
}

.module.module-cglist.undefined {
    max-width: unset !important;
}

.brand.info td {
    padding: 10px;
    font-size: 13px;
}

.classarea li a {
    font-size: 16pt;
    color: #1f2b65;
}

#map_all,
#map_N {
    width: 80%;
}

.classarea li {
    padding: 1% 0;
    list-style: none;
}

.classarea {
    padding: 0;
    margin: 0;
}

.classarea i {
    margin-right: 5%;
}

.class_group i {
    margin-right: 5%;
    color: #e60012;
}

.class_group {
    border-bottom: 4px dotted #8a6d3b;
}

.class_group a {
    padding: 1%;
    color: #1f2b65 !important;
    padding: 1%;
    width: 105px;
    display: block;
    float: left;
}

.social {
    display: flex;
}

.class_detail a {
    display: block;
}

h7 {
    color: #fff;
    background: #1f2b65;
    padding: 1% 5%;
    border-radius: 5px;
}

@media (max-width:768px) {
    .table-responsive {
        border: 1px solid transparent;
        margin-bottom: 0px;
    }
    .nav.nav-tabs.four a {
        width: 150px;
        height: 62px;
    }
    h7 {
        margin: 2% 0;
    }
    .classarea {
        text-align: center;
    }
    .class_group a {
        width: 99px;
    }
}

.fadein_content {
    display: flex;
    justify-content: center;
    opacity: 0;
}

.fadein_inner {
    text-align: center;
}

.fadein_inner h4 {
    color: #1f2b65;
    font-weight: bold;
}

.fadein_inner img {
    text-align: center;
    padding: 5%;
}

.fadein_inner img:hover {
    filter: brightness(1.2);
}

.content_p span {
    color: #e60012;
    font-weight: bold;
}

.area {
    clear: both;
    padding-bottom: 8%;
}

.area h4 {
    font-weight: bold;
}

.row.detail {
    margin: 2% 0;
}

.row.liketable {
    /* border: 1px solid #eee; */
}

.liketable_th {
    /* background: #f5d4d7; */
}

.btn_group.child_red a{
    background: #e80011!important
}